import Layout from '@/layout'

const shoppingRouter = {
  path: '/shopping',
  component: Layout,
  redirect: 'noRedirect',
  name: '购物车管理',
  meta: {
    title: '购物车管理',
    icon: 'shopping'
  },
  children: [
    {
      path: 'car',
      component: () => import('@/views/shopping/car'),
      name: 'TinymceDemo',
      meta: { title: '购物车列表' }
    },
    {
        path: 'car1',
        component: () => import('@/views/shopping/qiniu'),
        name: 'TinymceDemo',
        meta: { title: '七牛云' }
    },
    {
      path: 'car2',
      component: () => import('@/views/shopping/head'),
      name: 'TinymceDemo',
      meta: { title: '头部导航' }
  },
  {
    path: 'car3',
    component: () => import('@/views/shopping/bottom'),
    name: 'TinymceDemo',
    meta: { title: '底部文章' }
},
{
  path: 'car4',
  component: () => import('@/views/shopping/Carousels'),
  name: 'TinymceDemo',
  meta: { title: '轮播管理' }
},
{
  path: 'car5',
  component: () => import('@/views/shopping/Prefectures'),
  name: 'TinymceDemo',
  meta: { title: '专区管理' }
},
  ]
}

export default shoppingRouter
